<?php
class LoginForm extends Zend_Form {
    public function init() {
        $username = $this->createElement('text', 'username', array(
            'label' => 'Login',
            'required' => TRUE
        ));
        $password = $this->createElement('password', 'password', array(
            'label' => 'Password',
            'required' => TRUE
        ));
        $signin = $this->createElement('submit', 'SignIn', array(
            'label' => 'Enter'
        ));
        $this->addElements(array(
            $username,
            $password,
            $signin
        ));
    }
}